﻿using System;

namespace IssueIT.Core.Domain.Model
{
	public class Company : IEntity
	{
		public static readonly Company Any = new AnyCompany();

		private sealed class AnyCompany : Company
		{
			public AnyCompany() : base("Any")
			{
				Id = Guid.Empty;
			}
		}

		public Company(string name)
		{
			Name = name;
		}

		public Guid Id { get; set; }
		public string Name { get; private set; }
	}
}